package com.example.certificate.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Hao
 * @date 2022年03月10日 14:05
 */
@Data
@ApiModel(value = "新增")
public class OrderIinsDto {

    private Float totalAmount;

    private String detailDesc;

    private String userName;

    private String phone;

    private String addr;

    private String source;

    private Integer nums;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
}
